//
//  HotPerson.m
//  SDDataTest
//
//  Created by sodao on 12-9-20.
//  Copyright (c) 2012年 sodao. All rights reserved.
//

#import "HotPerson.h"

@implementation HotPerson
@synthesize personID;
@synthesize headURL;
@synthesize date;


-(id)initWithDictionary:(NSDictionary *)dictionary{
    self = [super initWithDictionary:dictionary];
    if (self) {
        self.personID = [self getFeedIDByObject:[dictionary objectForKey:@"Uid"]];
        self.headURL = [dictionary objectForKey:@"Pic"];
        self.date = [self getServerUTC:[[dictionary objectForKey:@"SetDay"] longLongValue]];
    }
    return self;
}
-(void)dealloc{
    [super dealloc];
    if (self.personID) {
        [self.personID release];
    }
    if (self.headURL) {
        [self.headURL release];
    }
    if (self.date) {
        [self.date release];
    }
}


@end
